﻿@using Helena.Areas.Vendedores.Models;
@{VendedorView vendedorActivo = (VendedorView)Session["vendedor"]; }
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="@Url.Content("~/Content/data/js/jquery-1.7.1.min.js")"></script>

<script type="text/javascript" src="@Url.Content("~/Content/data/js/jquery.corner.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/jquery.validate.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/css_browser_selector.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/jquery.jqplot.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/plugins/jqplot.highlighter.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/plugins/jqplot.cursor.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/plugins/jqplot.dateAxisRenderer.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/plugins/jqplot.pieRenderer.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/plugins/jqplot.barRenderer.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/editor/jquery.cleditor.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/calendar/fullcalendar.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/jquery.multiselect.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/tooltip/jquery.tipsy.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/validation/jquery.validationEngine.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/validation/languages/jquery.validationEngine-es.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/jquery.dataTables.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/fancybox/jquery.fancybox-1.3.4.pack.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/fancybox/jquery.easing-1.4.pack.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/data/js/js.js")"></script>

	<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
	

	<title>@ViewBag.Title</title>
	@using Helena.Areas.Vendedores.Models
	@(Html.Telerik().StyleSheetRegistrar()
					  .DefaultGroup(group => group
						  .Add("telerik.common.css")
						  .Add("telerik.Sunset.css")
						  .Add("telerik.rtl.css")
						  .Combined(true)
						  .Compress(true))
					 )
	@RenderSection("HeadContent", required:false)
</head>

<body>
	<div class="page">
		<header>
			<div id="title">
				<table style="width:100%; border-width:0px">
				<tr>
					<td>
						<h1>Helena Jockey</h1>
					</td>
					<td>
						<h3>
							@vendedorActivo.NombreLargo 
						</h3>
					</td>
				</tr>
				</table>
			</div>
			@(Html.Telerik().Menu()
					.Name("menu")
					.Items(menu => {
						menu.Add()
							.Text("Configuracion")
							.ImageUrl("~/Content/Imagen/Common/ajax.png")
							.Items(item =>
						{
							item.Add().Text("Usuario").ImageUrl("~/Content/Imagen/Common/user-16.png").Url("../../../Vendedores/Vendedor");
							item.Add().Text("Clientes").ImageUrl("~/Content/Imagen/Common/user-16.png").Url("../../../Clientes/Cliente");
							item.Add().Text("Finanzas").ImageUrl("~/Content/Imagen/Common/preference.png").Url("../../../Configuraciones/Local");
							item.Add().Text("Unidad").ImageUrl("~/Content/Imagen/Common/coffee_machine-16.png").Url("../../../Configuraciones/Unidad");
							item.Add().Text("Tarjeta").ImageUrl("~/Content/Imagen/Common/VISA.png").Url("../../../Configuraciones/Tarjeta");
						});
						menu.Add()
							.Text("Insumos")
							.ImageUrl("~/Content/Imagen/Common/rep.png")
							.Items(item =>
						{
							item.Add().Text("Canpañas").ImageUrl("~/Content/Imagen/Common/coffee_machine-16.png").Url("../../../Campanas/Campana");
							item.Add().Text("Categorias").ImageUrl("~/Content/Imagen/Common/shopping-bag.png").Url("../../../Categorias/Categoria");
							item.Add().Text("Proveedores").ImageUrl("~/Content/Imagen/Common/user-16.png").Url("../../../Proveedores/Proveedor");
							item.Add().Text("Productos").ImageUrl("~/Content/Imagen/Common/cup_coffee-16.png").Url("../../../Productos/Producto");
						});
						menu.Add()
							.Text("Movimientos")
							.ImageUrl("~/Content/Imagen/Common/test.png")
							.Items(item =>
							{
								item.Add().Text("Entrada").ImageUrl("~/Content/Imagen/Common/new.png").Url("../../../Entradas/Entrada");
								item.Add().Text("Salida").ImageUrl("~/Content/Imagen/Common/empty-shopping-cart.png").Url("../../../Salidas/Salida");
								item.Add().Text("Degustacion").ImageUrl("~/Content/Imagen/Common/coffee_machine-16.png").Url("../../../Degustaciones/Degustacion");
							});
						menu.Add()
							.Text("Ventas")
							.ImageUrl("~/Content/Imagen/Common/orm.png")
							.Items(item =>
							{
								item.Add().Text("Nueva").ImageUrl("~/Content/Imagen/Common/cash.png").Url("../../../Ventas/DetalleVenta");
								item.Add().Text("Anular").ImageUrl("~/Content/Imagen/Common/credit-cards.png").Url("../../../Ventas/Anular");
                                item.Add().Text("Cambiar").ImageUrl("~/Content/Imagen/Common/credit-cards.png").Url("../../../Ventas/CambDetalleVenta");
							});
						menu.Add()
							.Text("Reportes")
							.ImageUrl("~/Content/Imagen/Common/mvc.png")
							.Items(item =>
							{
								item.Add().Text("Cierre de Caja").ImageUrl("~/Content/Imagen/Common/secure-payment.png").Url("../../../Reportes/CierreCaja");
								item.Add().Text("Entradas").ImageUrl("~/Content/Imagen/Common/icons/downloads.png").Url("../../../Reportes/Varios/Entradas");
								item.Add().Text("Salidas").ImageUrl("~/Content/Imagen/Common/icons/downloads.png").Url("../../../Reportes/Varios/Salidas");
								item.Add().Text("Degustacion").ImageUrl("~/Content/Imagen/Common/icons/downloads.png").Url("../../../Reportes/Varios/Degustaciones");
								item.Add().Text("Ventas").ImageUrl("~/Content/Imagen/Common/icons/downloads.png").Url("../../../Reportes/Varios/Ventas");
								item.Add().Text("Kardex Diario").ImageUrl("~/Content/Imagen/Common/GoldCoin-Single.png").Url("../../../Reportes/Kardex/MostrarKardexDiario");
								item.Add().Text("Kardex Mensual").ImageUrl("~/Content/Imagen/Common/GoldCoin-Stacks.png").Url("../../../Reportes/Kardex/MostrarKardexMensual");								
							});
					}))
		</header>
		<section id="main">
			@RenderBody()
		</section>
		<footer>
		</footer>
	</div>
	@*@(Html.Telerik().ScriptRegistrar().DefaultGroup(group => group.Add("telerik.examples.js").Compress(true)).OnDocumentReady(@<text>prettyPrint();</text>))*@
@(Html.Telerik().ScriptRegistrar().DefaultGroup(group => group.Combined(true).Compress(true)))</body>
</html>
